JavaScript

mapControl.emphasizeMarkerGroup Method

Syntax

mapObj.emphasizeMarkerGroup(groupName [, duration]);

Arguments

groupNamestring

The name of the marker group to emphasize.

durationnumber

The duration to bounce the marker group specified in milliseconds. The marker group will be deemphasized automatically after the specified duration.

Description

Emphasize (bounce) a marker group. If a duration is specified, the marker group will automatically be deemphasized after the specified duration.

Example

//get a pointer to the map control for variable 'mymap1'
var mapObj = {dialog.object}.getControl('mymap1');

if (mapObj) {
    mapObj.emphasizeMarkerGroup('myMarkerGroup1',2000);
}